package com.hmall.trade.constants;

/**
 * MQ常量类
 * 用于记录RabbitMQ的交换机、队列、路由键等常量
 */
public class MQConstants {

    /**
     * 订单延迟交换机
     */
    public static final String   DELAY_EXCHANGE_NAME = "trade.delay.direct";

    /**
     * 订单延迟队列
     */
    public static final String DELAY_ORDER_QUEUE_NAME = "trade.delay.order.queue";

    /**
     * 订单延迟路由键
     */
    public static final String DELAY_ORDER_KEY = "trade.delay.query";
}
